An alternative approach to I/O
نویسندگان
چکیده
We propose a form of input and output for functional languages that is in a sense orthogonal to the actual computation: certain input and output directives can be added to a completed, fully working program text, and they do neither disturb referential transparency nor necessitate to change the types of the program text. The input and output directives change the order of evaluation as little as possible (lazy evaluation remains lazy), though there is sufficient control over the order in which the input and output actions occur to make it acceptable for the user. The basic idea is that a value which is written out explicitly in the program text by way of typical example, is replaced by a special constant that asks the user to type in parts of the value, as needed by the computation. The mechanism seems suitable for a large class of so-called interactive programs.
منابع مشابه
Comparative Analysis of Sectoral Multipliers of Input-Output Model and Social Accounting Matrix
The present study is to indicate that the comparison between sectoral production multipliers of an input-output (I/O) model and a social accounting matrix (SAM) framework is almost impossible without taking into account accounting balances and theoretical considerations. Theoretically, the I/O model provides the Leontief’s production function, on the basis of which sectoral output multiplier ca...
متن کاملPerturbations of Jordan higher derivations in Banach ternary algebras : An alternative fixed point approach
Using fixed pointmethods, we investigate approximately higher ternary Jordan derivations in Banach ternaty algebras via the Cauchy functional equation$$f(lambda_{1}x+lambda_{2}y+lambda_3z)=lambda_1f(x)+lambda_2f(y)+lambda_3f(z)~.$$
متن کاملNearly higher ternary derivations in Banach ternary algebras :An alternative fixed point approach
We say a functional equation () is stable if any function g satisfying the equation () approximatelyis near to true solution of (). Using xed point methods, we investigate approximately higherternary derivations in Banach ternary algebras via the Cauchy functional equationf(1x + 2y + 3z) = 1f(x) + 2f(y) + 3f(z) :
متن کاملDesulfurization of Gas Oil by Modified Clinoptilolite
The objective of this research is to find an economically attractive alternative method for hydrodesulfurization of petroleum fractions and to select a suitable adsorbent for this process.Deep desulfurization of transportation fuels (gasoline, diesel, and jet fuels) is being mandated by governments and is also needed for future fuel cell applications. However, it is extremely difficult and ...
متن کاملExternal and Internal Incompressible Viscous Flows Computation using Taylor Series Expansion and Least Square based Lattice Boltzmann Method
The lattice Boltzmann method (LBM) has recently become an alternative and promising computational fluid dynamics approach for simulating complex fluid flows. Despite its enormous success in many practical applications, the standard LBM is restricted to the lattice uniformity in the physical space. This is the main drawback of the standard LBM for flow problems with complex geometry. Several app...
متن کاملAn Alternative Approach to Centroids and Connectors Pattern: Random Intra-Zonal Travel Time
In traditional traffic assignment procedure, each traffic analysis zone is represented by one point in its geometric center which is connected to the network by several connectors. Results of studies show that different connector patterns would result up to 10% change in estimated volume and up to 20% change in total travel time. Also the different patterns of connectors can change the priority...
متن کامل